package com.xdfsoft.watercounter.model;

import java.io.Serializable;
import java.util.Date;

public class Flux implements Serializable {
    private Integer iid;

    private String addr;

    private Date sendtime;

    private Date recivedtime;

    private Float flux;

    private Float speed;

    private Float pressure;

    private Float total;

    private Date createtime;

    private String cn;

    private String remark;

    private String b_State;

    private String b_Class;

    private static final long serialVersionUID = 1L;

    public Integer getIid() {
        return iid;
    }

    public void setIid(Integer iid) {
        this.iid = iid;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr == null ? null : addr.trim();
    }

    public Date getSendtime() {
        return sendtime;
    }

    public void setSendtime(Date sendtime) {
        this.sendtime = sendtime;
    }

    public Date getRecivedtime() {
        return recivedtime;
    }

    public void setRecivedtime(Date recivedtime) {
        this.recivedtime = recivedtime;
    }

    public Float getFlux() {
        return flux;
    }

    public void setFlux(Float flux) {
        this.flux = flux;
    }

    public Float getSpeed() {
        return speed;
    }

    public void setSpeed(Float speed) {
        this.speed = speed;
    }

    public Float getPressure() {
        return pressure;
    }

    public void setPressure(Float pressure) {
        this.pressure = pressure;
    }

    public Float getTotal() {
        return total;
    }

    public void setTotal(Float total) {
        this.total = total;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getCn() {
        return cn;
    }

    public void setCn(String cn) {
        this.cn = cn == null ? null : cn.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getB_State() {
        return b_State;
    }

    public void setB_State(String b_State) {
        this.b_State = b_State == null ? null : b_State.trim();
    }

    public String getB_Class() {
        return b_Class;
    }

    public void setB_Class(String b_Class) {
        this.b_Class = b_Class == null ? null : b_Class.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", iid=").append(iid);
        sb.append(", addr=").append(addr);
        sb.append(", sendtime=").append(sendtime);
        sb.append(", recivedtime=").append(recivedtime);
        sb.append(", flux=").append(flux);
        sb.append(", speed=").append(speed);
        sb.append(", pressure=").append(pressure);
        sb.append(", total=").append(total);
        sb.append(", createtime=").append(createtime);
        sb.append(", cn=").append(cn);
        sb.append(", remark=").append(remark);
        sb.append(", b_State=").append(b_State);
        sb.append(", b_Class=").append(b_Class);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}